﻿using System;
using System.Collections.Generic;

/*****************************************************************************************************************          
 Copyright © 2010 - Banco Itaú BBA S.A          
          
 IBem : 
            
 Histórico de Alterações:      
16/08/2010 - AAALVES	- Criacao OS393398

 *****************************************************************************************************************/


namespace ibba.src.norisk
{
    public class PageBemPresenter
    {

        private ServiceBem.IBem _serviceBem;


        public PageBemPresenter()
        {

            _serviceBem = ServiceFactory.GetInstance().ServiceBem;

        }


        public void ObterBem(int? _cdInstrumento, AsyncCallback pAsyncCallback)
        {
            _serviceBem.BeginObterBem(_cdInstrumento, pAsyncCallback, _serviceBem);
        }



        public void AtualizarBem(List<ServiceBem.Bem> _list, string cdUsuario, AsyncCallback pAsyncCallback)
        {
            _serviceBem.BeginAtualizarBem(_list, cdUsuario, pAsyncCallback, _serviceBem);

        }
    }

}

